package com.crealth.job;


import java.util.List;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.crealth.db.UserDb;
import com.crealth.memcached.UserCached;
import com.crealth.model.UserModel;


public class MonthFirstDayJob implements Job {	
	
	public void execute(JobExecutionContext arg0) throws JobExecutionException {
		List<UserModel> userls = UserDb.selectAllOnJobUser();
		for (UserModel user : userls) {
			UserCached.updateUserMOB(user);
		}
		
	}
	
}
